// @ts-ignore
/* eslint-disable */
import { TenantNameResult, TenantResult } from '@/services/api/model/tenantModel';
import { request } from '@umijs/max';
export async function getList() {
  return request<TenantResult>(API_URL + '/superlink/api/tenants', {
    method: 'GET',
  });
}
export async function getListName(params: API.LoginParams) {
  return request<TenantNameResult>(AUTH_URL + '/tenant/list/name', {
    method: 'GET',
    params,
  });
}
